DX11 GET VERTEX VECTOR4

Gets the vector4 value for the specified semantic or offset within the given vertex buffer.

  Syntax
DX11 GET VERTEX VECTOR4 vertex, semanticName, [semanticIndex], offset, vector
  Parameters
vertex
Dword
The vertex to get the semantic / data at the offset position of

.

semanticName
String
The semantic name of the data element to get for the vertex.
[Optional] semanticIndex
Dword
The semantic index of the data element to get for the vertex. Defaults to 0.
OR.
offset
Dword
The offset to which to read the value from the vertex buffer. Note that this function takes either a semantic name and optionally an id, or an offset; not both.

.
vector
Dword
A vector that will be set to the data of the specified semantic / offset within the vertex buffer.

  Returns

This function does not return a value.

  See also

VERTEXLAYOUT Functions Menu
DX11 Function Categories